package com.yx.elastic.elasticcm.controller.web;

import com.yx.elastic.elasticcm.service.AnalyzerCharacterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by chenzp on 18-09-07.
 */
@RestController
@RequestMapping("/analyzer/token")
public class AnalyzerTokenController {

    @Autowired
    private AnalyzerCharacterService analyzerCharacterService;


    /**
     * 字符过滤器列表
     * @param modelAndView
     * @return
     */
    @RequestMapping("/tokenView")
    public ModelAndView characterView(ModelAndView modelAndView) {
        modelAndView.setViewName("/analyzer/token");
        return modelAndView;
    }

}
